home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1994 October / Macformat17.cdr / Shareware City / Education / RLaB / help / open < prev    next >
Encoding:
Text File  |  1994-06-18  |  561 b   |  24 lines  |  [TEXT/ttxt]

  1. open:
  2.  
  3. Synopsis: open a file for read/write operations.
  4.  
  5. Syntax:    open ( FILENAME, MODE )
  6.     open ( FILENAME, MODE, BUFFSIZE )
  7.  
  8. Description:
  9.  
  10.     Open will open a file  or a pipe for read or write
  11.     operations. Open allows the user to specify the mode of
  12.     operation, and optionally a buffer-size for I/O.
  13.  
  14.     MODE:    "r"    read access
  15.         "rb"    read binary
  16.         "w"    write access
  17.         "wb"    write binary
  18.         "wa"    write/append
  19.  
  20.     BUFFSIZE:    Buffersize is specified in bytes. If BUFFSIZE
  21.             is not specified the system defaults are used.
  22.  
  23. See Also: FILES close, printf, fprintf, read, write
  24.